import request from '../utils/request/request';
import { createTheURL } from '../utils/utils';
import { api } from '../utils/config';

export async function query() {
  return request(createTheURL(api.testAPI, 'USERS'));
}

export async function queryCurrent() {
  return request(createTheURL(api.testAPI, 'CURRENTUSER'));
}
